<?php include "fonctions.php";?>

<form method="post" action="put_modification_skill.php">
	<h2> Modification d'une comp&eacute;tence </h2> 
	<?php $skill = getSkillId($_GET['id']); ?>       
	<p> 
	      <input type ="hidden" name="id" value="<?php echo $skill['id']; ?>"/>
	      Nom de comp&eacute;tence : <input type = "text" name ="name" value="<?php echo $skill['name']; ?>"/> <br/>
        Description de la comp&eacute;tence <input type = "text" name ="description" value="<?php echo $skill['description']; ?>"/> <br/>
	      Parent de la comp&eacute;tence (s'il en a un) : <input type = "text" name ="parent" value="<?php echo $skill['parent_id']; ?>"/> <br/>		
	
	      <input type="submit" value="Validez"><br/><br/>
	      
	      <a href="index.php"> Retour au menu</a><br/>
	</p>
</form>
